<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<%@include file="_commonAdmin/title.jsp" %>
<%
    if (null == session.getAttribute("admin")) {
        response.sendRedirect("login.jsp");
    }
%>
<body>
    <%@include  file="_commonAdmin/header.jsp" %>
    <%@include  file="_commonAdmin/sidebar.jsp" %>


    <div class="col-main col-xs-12 col-sm-6 col-md-9">
        <h2 class="ico_add_member">Member Add</h2>
        <html:form action="/userAddNew.do" method="post">
            <div class="rowManager">
                <label class="lb">Member ID </label>
                <html:text property="userId"></html:text>
                </div>
                <div class="rowManager">
                    <label class="lb">UserName</label>
                <html:text size="35" property="userName"/>
            </div>                                        
            <div class="rowManager">
                <label class="lb">Sex</label>
                <html:select property="sex">
                    <html:option value="famale">Female</html:option>
                    <html:option value="male">Male</html:option>
                </html:select>
            </div>
            <div class="rowManager">
                <label class="lb">Address</label>
                <html:textarea property="address" />
            </div>
            <div class="rowManager">
                <label class="lb">BirthDay</label>
                <html:text property="birthday" />
                <label style="color:red">dd/mm/yyyy</label>
            </div>
            <div class="rowManager">
                <label class="lb">Position</label>
                <html:select property="isStaff">
                    <html:option value="1">Staff</html:option>
                    <html:option value="0">Student</html:option>
                </html:select>
            </div>
            <div class="rowManager">
                <label class="lb">Class</label>
                <html:select property="classUser">
                    <html:option value="">Select Class For Student</html:option>
                    <html:option value="C0810IV">C0810IV</html:option>
                    <html:option value="C0810I">C0810I</html:option>
                    <html:option value="C0810HV">C0810HV</html:option>
                    <html:option value="C0810GV">C0810GV</html:option>
                    <html:option value="C0810KV">C0810KV</html:option>
                </html:select>
            </div>					
            <div class="rowManager">
                <label class="lb">&nbsp;</label>
                <input type="submit" value="Submit" />
            </div>
        </html:form>
    </div>
     <%@include file="_commonAdmin/footer.jsp" %>
</body>
</html>


